package com.aabte.lota.auth.account.bean.enums;

import com.aabte.commons.rest.errorcode.IApiErrorCode;
import lombok.Getter;
import lombok.ToString;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/4/5
 */
@ToString
@Getter
public enum UserApiErrorCode implements IApiErrorCode {
  USER_ALREADY_EXISTS(400, 5000L, "User already exists");

  private Integer status;
  private Long code;
  private String msg;

  UserApiErrorCode(Integer status, Long code, String msg) {
    this.status = status;
    this.code = code;
    this.msg = msg;
  }
}
